<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>uuQuery - style selector</title>
<style type="text/css">@import url(../README.css);</style>
<script type="text/javascript" src="../uuQuery.js"></script>
<script type="text/javascript" src="iterator.js"></script>
</head>
<body>
<script>
window.onload = function() {
  setTimeout(boot1000, 1000);
};

function boot1000() {
  uuQuery("div{ backgroundColor &= darkseagreen ~ lightseagreen }").forEach(function(v) {
    v.style.color = "black";
  });
}
</script>
<ul>
<li>Computed style operator &=</li>
</ul>
<div style="background-color: lightseagreen">bgcolor: lightseagreen</div>
<div style="background-color: mediumspringgreen">bgcolor: mediumspringgreen</div>
<div style="background-color: lawngreen">bgcolor: lawngreen</div>
<div style="background-color: springgreen">bgcolor: springgreen</div>
<div style="background-color: greenyellow">bgcolor: greenyellow</div>
<div style="background-color: seagreen">bgcolor: seagreen</div>
<div style="background-color: mediumseagreen">bgcolor: mediumseagreen</div>
<div style="background-color: palegreen">bgcolor: palegreen</div>
<div style="background-color: darkgreen">bgcolor: darkgreen</div>
<div style="background-color: forestgreen">bgcolor: forestgreen</div>
<div style="background-color: limegreen">bgcolor: limegreen</div>
<div style="background-color: lightgreen">bgcolor: lightgreen</div>
<div style="background-color: darkolivegreen">bgcolor: darkolivegreen</div>
<div style="background-color: yellowgreen">bgcolor: yellowgreen</div>
<div style="background-color: darkseagreen">bgcolor: darkseagreen</div>

<pre class="eg">
&lt;div style="position: fixed"&gt;position: fixed&lt;/div&gt;

function boot1000() {
  uuQuery("div{ backgroundColor &= darkseagreen ~ lightseagreen }").forEach(function(v) {
    v.style.color = "black";
  });
}
</pre>

</body>
</html>